home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 99
/
(Vol 99) Jan 19 2010.iso
/
Games
/
beast_bash_beware.swf
/
scripts
/
frame_48
/
DoAction.as
Wrap
Text File
|
2010-01-19
|
5KB
|
191 lines
function §\x01\x02§()
{
return 1511;
}
var §\x01§ = -1269 + "\x01\x02"();
while(true)
{
if(eval("\x01") == 242)
{
set("\x01",eval("\x01") - 56);
§§push(true);
}
else if(eval("\x01") == 229)
{
set("\x01",eval("\x01") + 509);
§§push(!function §\x01\x02§()
{
return 1511;
});
}
else if(eval("\x01") == 528)
{
set("\x01",eval("\x01") - 28);
§§push("\x0f");
§§push(1);
}
else if(eval("\x01") == 186)
{
set("\x01",eval("\x01") - 56);
if(function §\x01\x02§()
{
return 1511;
})
{
set("\x01",eval("\x01") + 776);
}
}
else if(eval("\x01") == 863)
{
set("\x01",eval("\x01") - 634);
§§push(eval(function §\x01\x02§()
{
return 1511;
}));
}
else if(eval("\x01") == 500)
{
set("\x01",eval("\x01") + 265);
var §§pop() = function §\x01\x02§()
{
return 1511;
};
}
else
{
if(eval("\x01") == 130)
{
set("\x01",eval("\x01") + 776);
function §\x01\x02§()
{
return 1511;
}
§§pop()[§§pop()] = function()
{
loadMovie(§§constant(26),_root[§§constant(8)]);
};
eval(§§constant(27))[§§constant(19)] = function()
{
_root[§§constant(22)](§§constant(21),§§constant(20),100,1);
};
eval(§§constant(27))[§§constant(23)] = function()
{
getUrl("http://www.hotwheels.com/showcase/product.aspx?product_number=L8969&category_id=7589 ", "");
};
eval(§§constant(28))[§§constant(19)] = function()
{
_root[§§constant(22)](§§constant(21),§§constant(20),100,1);
};
eval(§§constant(29))[§§constant(23)] = function()
{
_root[§§constant(30)] = §§constant(31);
_root[§§constant(32)] = §§constant(33);
_root[§§constant(0)][§§constant(3)] = _root[§§constant(34)];
};
break;
}
if(eval("\x01") == 738)
{
set("\x01",eval("\x01") - 292);
if(function §\x01\x02§()
{
return 1511;
})
{
set("\x01",eval("\x01") + 498);
}
}
else
{
if(eval("\x01") == 944)
{
set("\x01",eval("\x01") - 871);
mcFader._alpha = 100;
_root.mcFader.onEnterFrame = doFadeIn;
stop();
_root.startSound("Music","sndIntro",100,1000);
var mclListener = new Object();
mclListener.onLoadInit = function(target_mc)
{
_root.mcClipLoader.score = _root.gScore;
_root.mcClipLoader.gotoAndStop("gameover");
};
var image_mcl = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip("bb1.swf",_root.mcClipLoader);
btnScores.onPress = function()
{
_root.startSound("SoundFX","sndClick",100,1);
};
btnScores.onRelease = function()
{
var _loc2_ = new Object();
_loc2_.onLoadInit = function(target_mc)
{
_root.mcClipLoader.gotoAndStop("highscores");
};
var _loc3_ = new MovieClipLoader();
_loc3_.addListener(_loc2_);
_loc3_.loadClip("bb1.swf",_root.mcClipLoader);
};
btnFriend.onPress = function()
{
_root.startSound("SoundFX","sndClick",100,1);
};
btnFriend.onRelease = function()
{
loadMovie("bb2.swf",_root.mcClipLoader);
};
btnToys.onPress = function()
{
_root.startSound("SoundFX","sndClick",100,1);
};
btnToys.onRelease = function()
{
getUrl("http://www.hotwheels.com/showcase/product.aspx?product_number=L8969&category_id=7589 ", "");
};
btnPLayAgain.onPress = function()
{
_root.startSound("SoundFX","sndClick",100,1);
};
btnPlayAgain.onRelease = function()
{
_root.myGotoType = "flash";
_root.myGoto = "welcome";
_root.mcFader.onEnterFrame = _root.doFadeOut;
};
break;
}
if(eval("\x01") == 446)
{
set("\x01",eval("\x01") + 498);
}
else if(eval("\x01") == 906)
{
set("\x01",eval("\x01") - 378);
}
else
{
if(eval("\x01") == 73)
{
set("\x01",eval("\x01") - 73);
break;
}
if(eval("\x01") == 1)
{
set("\x01",eval("\x01") + 527);
}
else
{
if(eval("\x01") != 765)
{
break;
}
set("\x01",eval("\x01") + 98);
§§push("\x0f");
}
}
}
}
}